package com.qiguliuxing.dts.db.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.qiguliuxing.dts.db.domain.DtsPublishRecord;
import com.qiguliuxing.dts.db.domain.DtsPublishRecordExample;

public interface DtsPublishRecordMapper {

    int insertSelective(DtsPublishRecord record);

    List<DtsPublishRecord> selectByUserId(Integer userId);

    DtsPublishRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DtsPublishRecord record);

    List<DtsPublishRecord> selectByExample(DtsPublishRecordExample example);

    int deleteByPrimaryKey(Integer id);

    List<DtsPublishRecord> selectByCondition(
            @Param("userId") Integer userId,
            @Param("publishSn") String publishSn,
            @Param("sort") String sort,
            @Param("order") String order);

}
